From 0b0c6a6477bae9c3125aeb682e2d16395f539e5a Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 19 Oct 2014 20:03:58 -0400 Subject: [PATCH] testfilechooser: Test the preview again There is code in there to show a preview, use it. --- tests/testfilechooser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testfilechooser.c b/tests/testfilechooser.c index 013415a8ad..c912e70329 100644 --- a/tests/testfilechooser.c +++ b/tests/testfilechooser.c @@ -647,7 +647,7 @@ main (int argc, char **argv) /* THIS IS A TERRIBLE PREVIEW WIDGET, AND SHOULD NOT BE COPIED AT ALL. */ preview_vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); - /*gtk_file_chooser_set_preview_widget (GTK_FILE_CHOOSER (dialog), preview_vbox);*/ + gtk_file_chooser_set_preview_widget (GTK_FILE_CHOOSER (dialog), preview_vbox); preview_label = gtk_label_new (NULL); gtk_box_pack_start (GTK_BOX (preview_vbox), preview_label, TRUE, TRUE, 0); -- 2.30.2